//
//  NetWorkDefine.h
//  DailyRecord
//
//  Created by Gin on 2022/3/27.
//

#ifndef NetWorkDefine_h
#define NetWorkDefine_h

#define kBaseUrl                @"https://api.dottools.top/api"

#define kUserRegister           @"app/user/register"    //post

#define kUserLogin              @"app/user/login"       //post

#define kAddData                @"app/datatable"        //post                  ///app/datatable/{table_name}

#define kQueryAllData           @"app/datatable/all"    //get                   ///app/datatable/all/{table_name}

#define kQueryCondition         @"app/datatable"        //get                   ///app/datatable/{table_name}

#define kQueryForKey            @"/app/datatable"       //get                   ///app/datatable/{table_name}/{key}

#define kUpdateData             @"/app/datatable"       //put                   ///app/datatable/{table_name}

#define kDeleteData             @"/app/datatable"       //delete                ///app/datatable/{table_name}/{key}

#define kRecordTable            @"record"

#define kCategoryTable          @"category"

#define kVerifyTable            @"verify"

#define kFeedBackTable          @"feedBack"

#define kDataKey                @"key"

#define kInRequestText          @"请求中..."

#define kRequestSuccessText     @"请求成功"

#define kRequestFailText        @"请求失败"

#define kRequestAddSuccessText  @"添加成功"

#define kRequestSuccessCode     @"0"

#define kRequestResponseCodeKey  @"code"

#define kRequestResponseDataKey  @"data"

#define kVerifyCodeKey           @"verifyCode"

#define kDefaultVerifyCode       @"113845220"

#endif /* NetWorkDefine_h */
